projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5382908
)
Fix memory values -- they should be in bytes.
author
Ewan Mellor
<ewan@xensource.com>
Sun, 25 Mar 2007 23:16:40 +0000
(
00:16
+0100)
committer
Ewan Mellor
<ewan@xensource.com>
Sun, 25 Mar 2007 23:16:40 +0000
(
00:16
+0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/libxen/test/test_bindings.c
patch
|
blob
|
history
diff --git
a/tools/libxen/test/test_bindings.c
b/tools/libxen/test/test_bindings.c
index 58074a9b02c39261e53af00f43c6ed1bf50de5ed..0904ec3ca8554eef942fc0249c27e8953be75fe2 100644
(file)
--- a/
tools/libxen/test/test_bindings.c
+++ b/
tools/libxen/test/test_bindings.c
@@
-379,10
+379,10
@@
static xen_vm create_new_vm(xen_session *session, bool hvm)
.name_description = hvm ? "New HVM VM" : "New PV VM",
.user_version = 1,
.is_a_template = false,
- .memory_static_max = 256,
- .memory_dynamic_max = 256,
- .memory_dynamic_min = 128,
- .memory_static_min = 128,
+ .memory_static_max = 256
* 1024 * 1024
,
+ .memory_dynamic_max = 256
* 1024 * 1024
,
+ .memory_dynamic_min = 128
* 1024 * 1024
,
+ .memory_static_min = 128
* 1024 * 1024
,
.vcpus_params = vcpus_params,
.vcpus_max = 4,
.vcpus_at_startup = 2,